package com.crazypos.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.crazypos.pojo.BrandEntity;
import com.crazypos.pojo.bo.CreateBrandBO;
import com.crazypos.pojo.bo.UpdateBrandBO;

public interface IBrandService extends IService<BrandEntity> {

    void createBrand(boolean isAdmin, CreateBrandBO bo, String userId, String organizationId);

    void updateBrand(boolean isAdmin, UpdateBrandBO bo, String userId, String organizationId);

    IPage<BrandEntity> getBrandList(Integer startPage, Integer pageSize, String name, boolean isSystem);

    int getCountByOrzId(String brandId, String organizationId);
}
